:host {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.details {
    h2 {
        word-wrap: break-word;
    }
}

.container {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 350px 450px;
    justify-content: center;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-size: cover;
        z-index: -1;
        background-repeat: no-repeat;
    }
}

.seasons {
    padding: 20px;

    .episodes {
        margin-bottom: 10px;

        button {
            margin-top: 5px;
        }
    }
}

.image {
    width: 300px;
    padding: 20px 10px;

    .placeholder-cover {
        width: 300px;
        height: 500px;
        background-color: #999;
        border-radius: 5px;

        &::after {
            content: 'No cover';
            position: relative;
            top: 230px;
            left: 115px;
        }
    }
}

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

@media (max-width: 800px) {
    .container {
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
        max-width: 1200px;
    }

    .image,
    .details {
        flex: 1 1 100%;
        display: flex;
        flex-direction: column;
        padding: 0;

        img {
            border-radius: 0;
        }
    }

    .details {
        padding: 0 10px;
    }

    .youtube-trailer {
        width: 95% !important;
    }
}

.label {
    font-weight: 100;
    font-size: 0.9em;
    padding: 5px 0;
    text-decoration: underline;
    opacity: 0.6;
}

.action-buttons {
    margin-top: 10px;
}

.youtube-trailer {
    display: flex;
    flex-wrap: wrap;
    align-self: center;
    width: 650px;
}
